﻿/* A binary Resource */
CREATE TABLE DBLiveObjects.DBResource(
	ID					uniqueidentifier PRIMARY KEY,
	Directory			varchar(255) NOT NULL,							/* ex: /Bank/Unit/Arbitrage Desk 1/ */
	Name				varchar(255) NOT NULL,							/* ex: Org.OpenTrader.Framework */
	Extension			varchar(16) NOT NULL,							/* ex: dll */
	Content				image NOT NULL,									/* raw content */
	TimeStamp           datetime2 NOT NULL,								/* Upload time */
	IsAssembly			bit NOT NULL,									/* If true, container will consider this as an assembly to load inside AppDomain */

	_InsertionStamp							bigint,
	_UpdateStamp							bigint
);